const logger = require('../middleware/socketLogger');

/**
 * @param {import('../index').Application} app 
 */
module.exports = (app) => {
  const { socketController, io } = app;

  const namesapce = io.of('/test', logger);

  namesapce.router('message', socketController.receive.message);
};
